Support for DocC packages?

Viewed 7

Feature request: Search for images in a .docc folder in Resources/

When writing markdown for DocC, one can reference images with ![alt text](image base name), without specifing a path or extension. It'd be cool if Marked would do the same thing.

So, if I have this file hierarchy, I can write ![Order State Transition Diagram](OrderStateTransitions), and DocC will find and render the image properly:

Sources/meals/meals.docc
├── meals.md
└── Resources
    └── OrderStateTransitions.png

Note that it can handle variants automatically too, just by writing ![](diagram):

diagram.png           ← default
diagram~dark.png      ← dark mode variant
diagram@2x.png        ← 2× resolution
diagram~dark@2x.png   ← dark mode + 2×

Does this make sense?

(Also btw, the "Open Support Site" button on the in-app issue report UI goes to a 404).

1 Answers

I'll look into this, but it's not going to be top priority until I stable out all the bug reports after release. Added to the list though. And I'll take a look at the Open Support Site button.